package com.example.ivory.accountbook.packetActivity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.ivory.accountbook.R;

/**
 * Created by 王如梦 on 2016/8/27.
 */
public class setpacketActivity extends Activity {
    Button backBt;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setpacket);

        //绑定退回按钮
        backBt= (Button) findViewById(R.id.buttonBackInpacket);

        //设置按钮的监听事件
        backBt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(setpacketActivity.this,inpacketActivity.class));

                setpacketActivity.this.finish();
            }
        });
    }
}
